home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 1 / LSD Compendium Deluxe 1.iso / a / compression / filepackers / stonecracker.lha / StoneCracker / include / clib / stc_protos.h < prev   
Encoding:
C/C++ Source or Header  |  1993-11-01  |  1.1 KB  |  31 lines

  1. #ifndef  EXEC_TYPES_H
  2. #include <exec/types.h>
  3. #endif
  4. #ifndef  UTILITY_TAGITEM_H
  5. #include <utility/tagitem.h>
  6. #endif
  7. #ifndef LIBRARIES_STC_H
  8. #include <libraries/stc.h>
  9. #endif
  10.  
  11. /*------ crunch data --------------------------------------------------*/
  12. ULONG stcCrunchData ( struct stcCrunchInfo * );
  13. /*------ decrunch data ------------------------------------------------*/
  14. BOOL stcDeCrunchData ( APTR , APTR );
  15. /*------ buffer allocation and misc -----------------------------------*/
  16. APTR stcAllocBuffer ( ULONG );
  17. void stcFreeBuffer ( APTR );
  18. void stcQuickSort ( ULONG , LONG * );
  19. APTR stcAllocFileBuffer ( char *);
  20. void stcFreeFileBuffer ( APTR );
  21. ULONG stcLoadFileBuffer ( APTR );
  22. ULONG stcProcessHunks ( ULONG , APTR );
  23. ULONG stcSaveExec ( ULONG , ULONG, ULONG, APTR, char *, ULONG * );
  24. BOOL stcLibDeCrunchPExec ( APTR, APTR );
  25. /*------ new functions ------------------------------------------------*/
  26. ULONG stcCrunchDataTags ( struct TagItem * );
  27. ULONG stcSaveExecTags ( struct TagItem * );
  28. APTR stcNewAllocFileBuffer ( ULONG, char *);
  29. APTR stcAllocMemBuffer ( ULONG, ULONG );
  30. ULONG stcFileIs ( char * );
  31.